package com.gopay.common.cipher.constants;

import java.util.Arrays;

/**
 * 
 * @ClassName: SensitiveInfoConstants 
 * @Description: 敏感信息加密常量类 
 * @author zyt 
 * @date 2016年9月1日 下午2:23:07
 */
public class SensitiveInfoConstants {
	
	/**
     * 3des 2key加密秘钥.
     */
    public static final byte[] key3des2keyBytes = Arrays.copyOf("gopay".getBytes(), 24);

	/**
     * 加密标识 DES的密文前缀
     */
    public static final String ENCRYPT_MARK_DES = "M_";
	/**
     * 加密标识 3DES 2KEY的密文前缀
     */
    public static final String ENCRYPT_MARK_3DES_2KEY = "ENCRPYT_MARK_";
    /**
     * 密文前缀中标识 3DES 3KEY
     */
    public static final String ENCRYPT_MARK_3DES_3KEY = "3DES3KEY_";
    /**
     * 密文前缀中，通用部分，可判断密文结尾
     */
    public static final String ENCRYPT_COMMON_MARK = "ENCRPYT_MARK_";
    
    public static final String[] DEFAULT_FIELDS = 
    	{"custName","bankAcctNum", "certNo", "creditCardExpired", 
    			"bankAcctName", "recvBankAcctName", "recvBankAcctNum",
    			"buyerRealBankAcctNum", "buyerRealCertNo", "buyerRealName", "bankCertNo"};
    //加解密配置文件名
    public static final String CIPHERPROP_PATH = "cipher.properties";
}
